<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <?php include_http_metas() ?>
    <?php include_metas() ?>
    <?php include_title() ?>
    <link rel="shortcut icon" href="/favicon.ico" />
  </head>
  <body bgcolor="#ffffff">
   <table width="490" border="0" align="center" cellpadding="0" cellspacing="0">
     <tr>
      <td><img src="/static/images/panel/spacer.gif" width="9" height="1" border="0" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="14" height="1" border="0" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="107" height="1" border="0" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="74" height="1" border="0" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="14" height="1" border="0" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="128" height="1" border="0" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="117" height="1" border="0" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="14" height="1" border="0" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="13" height="1" border="0" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="1" height="1" border="0" alt="" /></td>
     </tr>

     <tr>
      <td rowspan="9">&nbsp;</td>
      <td colspan="7"><img src="/static/images/spacer.gif" width="1" height="20" /></td>
      <td rowspan="9">&nbsp;</td>
      <td><img src="/static/images/panel/spacer.gif" width="1" height="30" border="0" alt="" /></td>
     </tr>
     <tr>
      <td rowspan="3" colspan="2">&nbsp;</td>
      <td colspan="3" align="center"><p align="center"><img src="/static/images/logopanel.png" width="112" height="97" border="0" /></p>
       <p><img name="panelsd_r2_c4" src="/static/images/panel/l1.png" width="216" height="55" border="0" id="panelsd_r2_c4" alt="" /></p></td>
      <td rowspan="3" colspan="2">&nbsp;</td>
      <td><img src="/static/images/panel/spacer.gif" width="1" height="55" border="0" alt="" /></td>
     </tr>
     <tr>
      <td colspan="3"><img name="panelsd_r3_c4" src="/static/images/panel/l2.png" width="216" height="16" border="0" id="panelsd_r3_c4" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="1" height="16" border="0" alt="" /></td>
     </tr>
     <tr>
      <td colspan="3"><img name="panelsd_r4_c4" src="/static/images/panel/panelsd_r4_c4.jpg" width="216" height="24" border="0" id="panelsd_r4_c4" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="1" height="24" border="0" alt="" /></td>
     </tr>
     <tr>
      <td><img name="panelsd_r5_c2" src="/static/images/panel/t1.png" width="14" height="14" border="0" id="panelsd_r5_c2" alt="" /></td>
      <td colspan="5" bgcolor="#FFFFFF"><img src="/static/images/spacer.gif" width="1" height="14" /></td>
      <td><img name="panelsd_r5_c8" src="/static/images/panel/t2.png" width="14" height="14" border="0" id="panelsd_r5_c8" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="1" height="14" border="0" alt="" /></td>
     </tr>
     <tr>
      <td colspan="7" align="left" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td align="right" valign="top"><table width="60%" border="0" align="right" cellpadding="0" cellspacing="0" background="/static/images/s2.jpg">
                <tr>
                <td width="11%" align="left"><img src="/static/images/s1.jpg" width="20" height="22" /></td>
                <td width="89%" align="left" class="dobro">
                 <?php
                    $ucenik_one = DbFinder::from('Profil')->leftJoin('Profil.Id', 'Ucenik.Id')->where('Ucenik.RoditeljId', $sf_user->getAttribute('id'))->findFirst();
                    echo 'Porodica '.$ucenik_one->getPrezime();
                 ?>
               </td>
             </tr>
           </table></td>
         </tr>
         <tr>
           <td align="left" valign="top">&nbsp;</td>
         </tr>
         <tr>
           <td align="left" valign="top"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
             <tr>
               <td align="left" valign="top">
                  <?php echo $sf_content ?>
                  </td>
             </tr>
              </table></td>
            </tr>
            <tr>
              <td align="left" valign="top">&nbsp;</td>
            </tr>
   </table></td>
      <td><img src="/static/images/panel/spacer.gif" width="1" height="341" border="0" alt="" /></td>
     </tr>
     <tr>
      <td><img name="panelsd_r7_c2" src="/static/images/panel/panelsd_r7_c2.jpg" width="14" height="14" border="0" id="panelsd_r7_c2" alt="" /></td>
      <td colspan="5" bgcolor="#FFFFFF"><img src="/static/images/spacer.gif" alt="" width="1" height="14" /></td>
      <td><img name="panelsd_r7_c8" src="/static/images/panel/panelsd_r7_c8.jpg" width="14" height="14" border="0" id="panelsd_r7_c8" alt="" /></td>
      <td><img src="/static/images/panel/spacer.gif" width="1" height="14" border="0" alt="" /></td>
     </tr>
     <tr>
      <td><img name="panelsd_r8_c2" src="/static/images/panel/d1.png" width="14" height="34" border="0" id="panelsd_r8_c2" alt="" /></td>
      <td colspan="2">
              <?php
              if($sf_context->getModuleName() == 'home' and $sf_context->getActionName() == 'index')
                 echo '<a href="/home/index"><img name="panelsd_r8_c3" src="/static/images/panel/panelsd_r8_c3.jpg" width="181" height="34" border="0" id="panelsd_r8_c3" alt="pocetna" /></a>';
              else echo link_to('<img name="panelsd_r8_c3" src="/static/images/panel/panelsd_r8_c3.jpg" width="181" height="34" border="0" id="panelsd_r8_c3" alt="pocetna" />', 'home/index');
              ?>
            </td>
            <td><img name="panelsd_r8_c5" src="/static/images/panel/d2.png" width="14" height="34" border="0" id="panelsd_r8_c5" alt="" /></td>
   <td colspan="3">&nbsp;</td>
   <td><img src="/static/images/panel/spacer.gif" width="1" height="34" border="0" alt="" /></td>
  </tr>
  <tr>
   <td colspan="7">&nbsp;</td>
   <td><img src="/static/images/panel/spacer.gif" width="1" height="132" border="0" alt="" /></td>
  </tr>
</table>
</body>
</html>
